<%@ page language="java" contentType="text/html; charset=UTF-8" import="work.atpgroup.entity.tool.ApplicationProperties"
         pageEncoding="UTF-8" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>${webPage.title}</title>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/css/bootstrap.min.css" integrity="sha384-Zenh87qX5JnK2Jl0vWa8Ck2rdkQ2Bzep5IDxbcnCeuOxjzrPF/et3URy9Bv1WTRi" crossorigin="anonymous">
    <link rel="stylesheet" href="https://www.layuicdn.com/layui-v2.7.6/css/layui.css"/>
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/js/bootstrap.min.js" integrity="sha384-IDwe1+LCz02ROU9k972gdyvl+AESN10+x7tBKgc9I5HFtuNz0wWnPclzo6p9vxnk" crossorigin="anonymous"></script>
    <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.1/jquery.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/vue/3.0.5/vue.global.js"></script>
    <c:if test="${webPage.jsId!=null}">
        <script type="text/javascript" src="<c:if test="${webPage.jsId!=null}">
        <c:choose>
            <c:when test="${privacy}">
                ${pageContext.request.contextPath}/resources/${webPage.jsId}
            </c:when>
            <c:otherwise>
                ${pageContext.request.contextPath}/${webPage.publicJsPath}
            </c:otherwise>
            </c:choose>
        </c:if>">
        </script>
    </c:if>

    <c:if test="${webPage.cssId!=null}">
        <c:choose>
            <c:when test="${privacy}">
                <link rel="stylesheet" href="${pageContext.request.contextPath}/resources/${webPage.cssId}">
            </c:when>
            <c:otherwise>
                <link rel="stylesheet" href="${pageContext.request.contextPath}/${webPage.publicCssPath}">
            </c:otherwise>
        </c:choose>

    </c:if>

</head>
<body>
${webPage.content}
<div></div>
</body>
</html>





















